﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NF_Tools
{
    public partial class BF_DataGridView : DataGridView

    {
        public BF_DataGridView()
        {
            InitializeComponent();
        }
        public BF_DataGridView(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }
        void BF_DataGridView_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
        {
            Pen pen = new Pen(Color.FromArgb(228, 228, 228));
            e.Graphics.DrawLine(pen, new Point(15, this.ColumnHeadersHeight), new Point(this.Width, this.ColumnHeadersHeight));
        }
    }
}
